package org.fujene.structure;

public class TermIndexee{
	private String term;
	private long ID;
	private int termFreq;
	private int valueType;
	
	private TermIndexee() {}
	
	public static TermIndexee asValue(String term, long ID, int termFreq, int valueType) {
		TermIndexee instance = new TermIndexee();
		instance.term = term;
		instance.ID = ID;
		instance.termFreq = termFreq;
		instance.valueType = valueType;
		
		return instance;
	}

	public String getTerm(){
		return term;
	}

	public long getID(){
		return ID;
	}

	public int getTermFreq(){
		return termFreq;
	}

	public int getValueType(){
		return valueType;
	}
}
